﻿namespace Digitalmes.Infrastructure.Ftp;

/// <summary>
/// FTP 配置选项。
/// </summary>
public sealed class FtpOptions
{
    /// <summary>
    /// 主机。
    /// </summary>
    [NotNull]
    public string? Host { get; set; }

    /// <summary>
    /// 账号名称
    /// </summary>
    [NotNull]
    public string? Username { get; set; }

    /// <summary>
    /// 账号密码。
    /// </summary>
    [NotNull]
    public string? Password { get; set; } = string.Empty;

    /// <summary>
    /// 端口，默认为 0。
    /// </summary>
    public int Port { get; set; }
}
